let tabIndex = {
  list: [{
    id: 'all',
    state: 1,
    title: '同班',
    book_lists: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
    beginrow: 0,
    islastline: 0,
    update: false,
    loading: false
  }, {
    id: 'topay',
    state: 2,
    title: '同级',
    book_lists: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
    beginrow: 0,
    islastline: 0,
    update: false,
    loading: false
  }, {
    id: 'tosend',
    state: 3,
    title: '同校',
    book_lists: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
    beginrow: 0,
    islastline: 0,
    update: false,
    loading: false
  }, {
    id: 'send',
    state: 4,
    title: '推荐',
    book_lists: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
    beginrow: 0,
    islastline: 0,
    update: false,
    loading: false
  }],
  selectedId: 'all',
  selectedIndex: 0,
  isaddschool: null
}

var tabList = {
  book_lists: [],
  beginrow: 0,
  islastline: 0,
  update: false,
  loading: false,
}

var contentList = [{
  title: '功能',
  lists: [{
    tit: '同步微信信息',
    icon: '../../assets/images/icon-7.png',
    num: '',
    navTo: '../accredit/index',
    webView: ''
  }]
}, {
  title: '图书讯息',
  lists: [{
    tit: '我的借入',
    icon: '../../assets/images/icon-1.png',
    num: '',
    navTo: '../myborrow/index',
    webView: ''
  }, {
    tit: '我的借出',
    icon: '../../assets/images/icon-2.png',
    num: '',
    navTo: '../myshare/index',
    webView: ''
  }, {
    tit: '我的图书',
    icon: '../../assets/images/icon-3.png',
    num: '',
    navTo: '../mybooks/index',
    webView: ''
  }, {
    tit: '想读图书',
    icon: '../../assets/images/icon-4.png',
    num: '',
    navTo: '../readbook/index',
    webView: ''
  }]
}, {
  title: '服务',
  lists: [{
      tit: '我的专属客服',
      icon: '../../assets/images/icon-5.png',
      navTo: '',
      contact: true,
      webView: ''
    },
    // {
    //   tit: '常见问题',
    //   icon: '../../assets/images/icon-6.png',
    //   navTo: '../questions/index',
    //   webView: 'https://www.pertech.cn/Commonproblems/'
    // }
  ]
}]
module.exports = {
  tabIndex,
  tabList,
  contentList
}